class Test {
    public static class Point {
        public static final double PI = 3.14159;
        private double x;
        private double y;
        protected double z;

        Point(double x,double y) {
            this.x = x;
            this.y = y;
        }

        Point() {}

        public double area() {
            return 0;
        }
    }

    public static class Circle extends Point {
        private double radius;

        Circle(double x,double y,double r) {
        //    super(x,y);
            this.z = x;
            super.x = x;
            radius = r;
        }

        public double area() {
            return PI * radius * radius;
        }
    }

    public static void main(String [] args) {
        Point point = new Circle(1,2,3);
        System.out.println("point.area() = " + point.area());
    }
}
